Calculate stats when performing a search
Print search stats in search debug