compatibility code for new comments counter