Google Sheets automatic calculations

Job ID: 33756880

Budget: $10 – $30 CAD

I need to calculate (count) for specific date ranges.

Data has 4 points

1. ID
2. Start date
3. End date
4. Other data

I want to use periods (end date - start date) arbitrarily and be able to calculate what number of IDs fit those criteria.
Related categories: Excel Google Sheets Google Apps Scripts