Updated post controller to display comments count on homepage.