Comment count
Fill in your field nameItalic values are placeholders: replace them with your own machine names, or let the builder do it.
Raw entity
Open in builder (Raw entity)Reads the entity directly, before field formatters run.
- Twig
{{ node.field_name. comment_count }}
Gotcha
The default comment field is comment (comment_forum for forums).