Add @search to access properties in view. Add total_results method and display in view.