Create a function named countLeapYears which accepts a Date. Your function should return the number of leap years to have taken place since the year 1.
countLeapYears
Date