Two readings share this character:
只 (3rd tone, adverb 'only / merely') and
只 (1st tone, classifier for one of a pair or for animals — historically written
隻). Tone choice is dictated by grammar: before a verb or quantity it's zhǐ; right after a number it's zhī.