This function returns the number of fields present in the fetched DataRow.
See stmt discard rest for a usage example.