add mgrep to search value, and mcount to count number of messages