Pass search string and count_total to context