Of all the factors of 30, how many are prime numbers? How many are composite numbers?

Of all the factors of 30, how many are prime numbers? How many are composite numbers?

The factors of 30 are: 1,2,3,5,6,10,15,30
There are three prime numbers: 2, 3, 5
There are four: 6, 10, 15, 30