Exponent CMS Help and Documentation
The comments_count function is used to display the number of comments assigned to the specified record
{comments_count record=$file prepend=' | '}