Instead of recomputing comment/fav/tag count from scratch on every request, store it in DB as *_count columns that get updated with proper triggers.