Problem/Motivation

#731724: Convert comment settings into a field to make them work with CMI and non-node entities Will add support for multiple comment fields on entities. Comment tokens relating to statistics (eg comment count) will show the aggregated total. This feature request is to support per-field tokens so the comment count for a given field can be shown.

Proposed resolution

Add support for the count by making the count a computed property of the CommentItem field.

Remaining tasks

Write tests, patch, review

User interface changes

None

API changes

New computed properties on comment fields

#731724: Convert comment settings into a field to make them work with CMI and non-node entities