Add `count` check now that we clear `timeoutId` properly.