counting the number of  records in the vme and rfmo table.