Can anyone tell me how to count the number of records in an sql pull and store this as a variable in t sql