Use the ncbo_resource_index library for a count