extract getWatchers and getNumberOfActiveWatchers method.
there prevent from happening NullPointerException.