Guess and Check Total Q03

Joshua has 10 notes of $2 and $5. He counted a total value of $38. How many $5 notes did he have?