calc comments count
common comments_count method