Patent statistics as economic indicators: a survey