number of leap days between two dates

n_leap_day(start_date, end_date)

Arguments

start_date, end_date

dates in any format recognized by as.Date