select count(*) from sales where qtysold between 2 and 4;