Does the word "head" have the same definition in the next two sentences?

They say he gives good head.

200 head of cattle and 50 head of horses.
different meanings