Nomenclature of methyl groups in an alkanol

I'm having trouble with this question since I'm getting (A), when the answer says its (B).

My logic was that there is a methyl group on the first carbon, and a hydroxide functional group on the second carbon, hence the name 1-methyl-2-pentanol.

Could someone please explain why I am wrong?

2. Find the position of the $\ce{OH}$ substituent. Lower number wins.