Is hair a countable noun or an uncountable noun? How to use it?

Is hair a countable noun or an uncountable noun? How to use it?

Many nouns in English can change with each other in a special context. For example, water is uncountable, but it can be counted as a whole. Similarly, all uncountable things are countable as a whole