adding comment counts to index page