From the pronoun hány (“how many”) + -nak (dative suffix).
hánynak
From the verb hány (“to hurl; to vomit”) + -nak (personal suffix).