fix posts_count