Enter in the two years that you want to calculate the leap years in between.
This is just a quick script I made that calculates leap years. Feel free to use it in your own project by putting it in your backpack.