adding search statistics