select count(*) from holidays where (day >= ?) and (day < ?)