Added a custom SQL query for getting Comment count on Posts, created a shared view for Posts lists for main and posts index pages.