added public check for 'isCounting()'