first version of flow node counter (for h2)