move long back to int...
Only Counters are allowed to have sampleRate, removing generic public method and refactoring