Update comment count in memory cache and db after submitting a comment.