Create named ranges for the date intervals of start_dates and end_dates and use a CF ormula of

=SUMPRODUCT(--(start_dates<=A2),--(end_dates>=A2))