add totalcount for search result, defer loading