compute refCount:recordCount pair