Database record count function

Preamble to pagination