The 194 town and village courts in the eight counties of Western New York collected $31.5 million in 2015. Amherst Town Court ranked first locally — and fourth of 1,219 town and village courts in the state — for the $3 million it collected in 2015, the last year for which data is available from the state Comptroller's Office.