User blog:MugenLover10/Air Dash Limitation!

Hi, I have another problem, this time, i added an air dash ability to my character, only problem is, i don't want to have to spam the hell out of it. I want to limit it to work only two times while in the air, like Yu-Toharu's Hatsune Miku, but i don't know to limit it?