Given a long multi-sentence string, the goal is the count the occurrences of the following words:
The words can appear as substrings of other words, i.e,
parked counts as an instance of
Santa Fe counts as one word (so the space matters). Both
Fe appearing alone or out of order does not count as an instance of
The output should be counts of the number of times the words
Santa Fe appear in the input string, in any consistent and readable format and order.
For example, for an input of
I'm just parked out by the lake; the lake 80 miles from Santa Fe. That's where i'm parked, out by the lake.
the output would resemble
2 3 1
as there are \$2\$ occurrences of
park, \$3\$ of
lake and \$1\$ of
Good luck! If you want a fun song to test this on you can use the lyrics to Parked by the lake - Dean Summerwind (below) and use it as the input; The output ought to be
20 24 14.
Winning submission is the least number of bytes.