fixed SQL countComments() query bug;