How do I create an IF statement to calculate the following:

Between a series of dates, IF there is a 3 day or more lapse, I want to count 1. IF there is less than 3 days, do not count anything

Thanks,

Tammy