Write count_word(sentence, word) that returns how many times word appears as a whole word in sentence, ignoring case. Words are separated by spaces.
count_word('Data is the new oil and data is power', 'data')
→ 2count_word('SQL sql Sql', 'SQL')
→ 3Submit runs 4 tests, including hidden edge cases.
Run your code to see the output here.