It looks like you would need 2 pins. GP0 is the A/D input and GP1 is the Vref.

But you can sometimes do multiple functions on a single pin.

In my circuit I have one pin performing 2 functions alternately as Digital output (driving an LCD) and Analog input (read battery voltage).