check for record count in more than one place