added generate_numdrugs.R