Here's why:
* Hydrogen bond donor: The hydrogen atom attached to the oxygen atom in methanol can participate in a hydrogen bond as a donor.
* Hydrogen bond acceptor: The oxygen atom in methanol has two lone pairs of electrons, making it capable of accepting two hydrogen bonds.
Therefore, methanol can form one hydrogen bond as a donor and two hydrogen bonds as an acceptor, resulting in a total of three hydrogen bonds.