a little method to count records on staging server, FIXME