speed up getNumTotalRecs() by caching
it basically for 2 seconds since pingserver.cpp
calls it all the time.