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