I have a string.

```
string = "there is a good recipe for excellent good taste"

```

I need to match the following list of words to the above string.

```
words = ['good', 'excellent', 'good taste']

```

Output expected:

```
{'good': 1, 'excellent': 1, 'good taste': 1}

```

Kindly note: 'good' should not be counted twice as second occurrence is 'good taste'. Need solution in Python