How to count number of days for purposes of computing the ‘4-month service requirement’?

How to count number of days for purposes of computing the ‘4-month service requirement’?