As I understand it, you want to find out how many customers did (I'll call him) John Doe work for during 4 different time frames.
So let's put it into perspective. John Doe worked for 4 time-frames. Within each of these time frames, he worked for at least 1 customer, but it could have been 5 or 50 or who knows how many customers. So he worked for X number of customers within each time frame.
It would seem that a "time-frame" would be a continuous sequence of time. You would have to look for breaks in the times given, and also need to know such things as how many hours does he work during each day, does he get travel time, lunch breaks, etc.? Also, if he works 8 hours a day for a particular customer, finishes his work there, and the next day at the beginning of his work-day, works for a different customer -- is this 1 time frame or 2 time frames? Also, if there is a break in times, but he is still working for the same customer -- is this 1 time frame or is it 2 time frames? You need to go back to the person giving you the specs and ask these questions, I would think.
Let's make it simple and assume that he works 8AM to 4 PM each day, and disregard lunch breaks, travel time, etc. And we'll assume that if he works the full day for 1 customer and begins the next day working the same customer, then we're still within the same time-frame. But if he finished with 1 customer at the end of a day and then begins the next day for a different customer, then that's 2 different time frames. Other than that, we'll differentiate time frames by looking at breaks between the ending time of 1 job and the beginning time of the next.
Let's say he starts at 8AM at the beginning of August 2, 2001 ("hire-date" for Customer 1) at 8AM ("start-time"

. He finishes work for Customer A at 2PM ("end-time"

the same day (so this is the "return-date" for Customer 1). At 2:01 PM ("start-time"

, he begins work for Customer B. This is a continuous sequence of time, so we're still on Time Frame #1, even though we switched customers. He ends work for Customer B at 4PM that night, then begins again at 8AM on August 3, 2001, and continues until 11AM (which will be your "end-time"

on the same day. We are still within Time Frame #1 because there has been no time-break (other than going home and coming back to work the next day). His "return-date" for Customer B will be August 3, 2001. He begins work for Customer C at 11:01AM ("start-time"

on August 3, 2001 ("hire-date" for Customer C) and stops at 3PM the same day. This will be his "return-date."
Then, the next start-time is 8AM on August 4, 2001 for Customer D. So now we have a break here. Time Frame #1 ended at 3PM on August 3. This would thus be the start of Time Frame #2.
You go on analyzing these figures, looking for breaks between the time frames until you get to the end-time of Time Frame #4.
Am I making any sense at all here? Or am I missing the boat entirely? Let me know if this is of any help.
Nina Too