The version dev of the module "Flag" for "Drupal 8" has added a new sub module "Flag Count":
https://www.drupal.org/project/flag/issues/2708291
I copied the code
{% set count = '[' ~ flagcount(flag, flaggable) ~ ']' %}
in flag.html.twig and I copy this file into the templates folder of my theme (I did not cache it).
But after I do not know how to do it. Currently to display the flag link in node.html.twig
I put the following code :
{{ content.flag_like_node }}
How to add the number of flag ?
I tested the following code and none works
{{ content.flag_like_node_count }}
{{ content.flag_like_node.count }}
{{ count }}