Implemented code to highlight match pattern and return total occurences of match