Count each beat by saying "tick-tock" every time you play a note. Do not count in your head. Count out loud. Play it several times until the rhythm sounds like a clock.