During the course of a baseball game we know that a pitch count is accumulated comparing balls to strikes. My question is what are hits counted as. For example if a pitcher gives up 8 hits in a game, where do those 8 pitches show up in his pitch count.

dpgdawg, sorry if I wasn’t clear but I wasn’t talking about batter pitch counts at all. I know the difference. The first two answers actually gave me what I was looking for.
 
 
Hits are counted as strikes in the baseball pitch count. Basically, there are balls and everything else is a strike. There are no wasted pitches in the pitch count.
 
Strikes i believe, they call the foul balls strikes, and those are hit… so why not call fair balls strikes. I am 99.99999999% sure they are strikes, great question!

It seems that you’re trying to look at two
separate issues and come up with the answer.
I think that when you speak of COMPARING
balls to strikes , you’re speaking of when there
is a batter at the plate and he has a count of 2-1.
Then you add in a pitcher gives up 8 hits.
That’s in the Pitch Count and is a separate statistic.
The Pitch Count includes EVERY pitch that a pitcher
throws regardless of what happens to it.
Strike , Ball , Foul , Bunt , HR , Triple , w/e.
Every pitch is counted and that is the Pitchers
Pitch Count.
It is a totally separate thing from the Batter Pitch Count.
Coaches like to keep track of the Pitchers total pitch
count so that they don’t overuse a pitcher and wear his arm out.

Some baseball coaches actually include pickoff attempts, too.

a ball is a ball… obviously…
a strike is a strike… again, obviously….
a foul ball… is a strike… again, obviously because it goes foul…
a hit is considered a strike for the same reason as a foul… simply because you can’t condsider a batted ball a ball, as you can’t advance the count from 2b-1s to 3b-1s when the ball is live in play or even if it goes foul…

strikes…

Pitch count is so bogus. 
Look at Tom Seaver, Bob Gibson, Sandy Koufax. 
No pitch counts. Played 9 innings This is one of the worst stats in the game and going to destroy it as a game of baseball.

Hits are counted as strikes, just like foul balls, and swing and miss pitches.