1

For the comment count you can get it in the node twig by: {{ content.comment['#items'].comment_count }} But the flag count i think there is no way to get it directly in the twig: There is extension called flagcount in the flag module but it requires the flag object which is not available in node twig. From comment section of flagcount callback function in ...


Only top voted, non community-wiki answers of a minimum length are eligible