how many prescriptions of bengay until 3 years ago are there?
select count(*) from prescriptions where prescriptions.drug = 'bengay' and datetime(prescriptions.startdate) <= datetime(current_time,'-3 year')