Optimize comment count cache column