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