what is the best way to determine how many values are contained in an input pointer file and store in a variable? any ideas appreciated.