[sr-dev] git:4.0: core: added function to check if counters have been initialized