CORE-5002: modified the listing and counting queries to take advantage of the object_id, user_id index in the r_objt_access table