Rename variable lastint to numFields.

More descriptive name to variable.