Mr Koh bought some fighting fishes at $9 each. He also bought an equal number of catfishes at a different price. The average price of a fighting fish and a catfish was $8. Mr Koh paid $22 more for the fighting fishes than the catfishes. How many fighting fishes did he buy?