ripgrep stats grep

Show total matches, files searched, elapsed time

rg 'error' /var/log/ --stats 2>&1 | tail -5