adding total of records for a search, resourceNotFoundException when a name is not found.
merge