Massachusetts's machinery and electrical goods industries are important components of the state's wholesale trade, along with motor vehicle and automotive equipment, and paper and paper products. In 1997, 11,423 wholesale establishments produced about $116 billion in sales. More than one-fourth of the wholesale establishments were located in Middlesex County. Retail sales brought in $63 billion in 1997, from 38,975 stores of all types. Food stores accounted for 11% of establishments; automotive dealers, 11%; and eating and drinking places, 32%. Food sales brought in $11 billion while general merchandise brought in $5.5 billion. In 1997, foreign exports totaled $16 billion, ranking 11th in the nation.