Explanation
TheCOUNTIFS functiontakes one or more criteria, entered as range/criteria pairs.
The second range/criteria pair is:
Matching any time less than the time in E6 (6:30).
The TIME function is useful when you want to assemble a proper time inside another formula.