Keith has p pennies, n nickels, and d dimes in his pocket. The total number of coins is 12. The expression represents the value of the coins, which is equal to $0.60. He has one fewer nickel than dimes. How many pennies does Keith have?

Keith has _____ pennies.