How to add comment's count in the Comments tab
To add the comment count in the Comments tab, ensure that it is enabled in Ultimate Member > Settings > Appearance > Profile Menu.
Then add the code below to your theme/child theme's functions.php file or use the Code Snippet plugin to run the code:
Warning: We have created this code example to provide guidance and to make it easier for you to implement this code into your website. However, we are not able to provide any support when it comes to customizing the plugin. If you need help implementing this code, please hire a developer.