Fun fact: You can change the number of lives you have right at the start of the game, and after every continue.
The default value is 4, but you can change it anywhere between 3 and 8 (I usually go with 3 myself, though that leads me to struggle a bit on Phase 3 and the final boss)