Updaing contact controller, adding ownerId condition to the total count and search.