Count Word Occurrences in Grid

Company: Flipkart_13july

Difficulty: medium