awk - Number of records

Hi,
Is it possible to find the total number of records processed by awk at begining.
NR gives the value at the end. Is there any variable available to find the value at the begining?

Thanks
----------
Suman

wc -l filename | read linecnt dummy
awk -v linecnt=$linecnt '{ print linecnt  }' filename

This defines linecnt as a variable with the number of lines in the file.