SELECT js_forum_topics.topicid, js_forum_topics.topic_name,
js_forum_topics.topic_views, js_forum_topics.topic_subject,
js_users.username, count(*)
FROM js_forum_topics INNER JOIN js_users
ON js_forum_topics.topicid = js_forum_replys.topicid
LEFT OUTER JOIN js_forum_replys
ON js_forum_topics.starter = js_users.userid
GROUP BY js_forum_topics.topicid
When doing a group by all non-agregated columns in the select-list should be present in the group by clause, otherwise you will get unpredicatable results.