I want the counter to stop when the character stop bouncing.