Define a function that accepts two parameters:
- A string that contains a file-path
- A string that is to be searched in the file.
The function should return a Counter object that contains the words and frequency pairs. Check collections module.
Define a function that accepts two parameters:
The function should return a Counter object that contains the words and frequency pairs. Check collections module.