Howmany types of headache are there?

Many. There are a multitude of different types of headaches, depending upon how one classifies them. Different types include, but are not limited to:cluster headache, migraine headache, tension headache, NSAID rebound headache, sinus headache, and others.
Several. There are many types of headaches. You can look up international classification of headaches.