Mr Zhang bought some goldfishes at $9 each. He also bought an equal number of neon tetras at a different price. The average price of a goldfish and a neon tetra was $6. Mr Zhang paid $66 less for the neon tetras than the goldfishes. How many goldfishes did he buy?