Pass search string and count_total to context
Merge extra context for search bar