SELECT COUNT(*) FROM Company_relationship WHERE effective_date <= ? AND expiration_date > ?