There are 12 plates in a kitchen cabinet. The diameter of each plate is either 9 inches or 14 inches. The diameter of all 12 plates combined is 148 inches. How many plates were 9 inches in diameter?