Google Sheets считает два условия
COUNTIFS(A7:A24, ">6", B7:B24, "<"&DATE(1969,7,20))
Strange Scarab
COUNTIFS(A7:A24, ">6", B7:B24, "<"&DATE(1969,7,20))