Sliding window counter wipe zero counts

Do not emit zero counts and computeTotalCount() only once per tick in SlidingWindowCounter