Fix posts_counts on json