Count the matches for current pattern Use this text to search on: Going to Union Station takes time, but this time can be an advantage. Use it right and travelling time will pay off. /time - to search for the word 'time' %s///gn - to count the number of matches