speed: dond count profiler when not needed