I'm trying to use the object_count_by_user_id to show the number of forum-posts done by each user. I've inserted the following code in my forum_topic.tpl:
Check the permissions for the user making this request. It might not be allowed to access other users information. If you are the anonymous user then maybe you need to changes its permissions.