Between 2009 and 2017, approximately 18,458 unique bills were introduced to the legislature of Massachusetts (out of 33,201 total). I know this because Dru Tarr, a legislative aide at the Massachusetts House of Representatives, very kindly compiled the publicly available list of bills into a neural network-digestible format.