how many prescriptions have been written for potassium chl 40 meq / 1000 ml ns until 3 years ago?
select count(*) from prescriptions where prescriptions.drug = 'potassium chl 40 meq / 1000 ml ns' and datetime(prescriptions.startdate) <= datetime(current_time,'-3 year')