BS-11878, now method getFlownodeStateCounters() returns a map with all flownodes encountered in any state.