I am trying to compare y with x, such that it will return the amount of matches and it strictly follows the value of y.
For example, in this scenario, it should return a count of 2 as there are 2 matches of ['a', 'b'].
x = ['a', 'b'], ['b', 'c'], ['d', 'c'], ['a', 'b']
y = ['a', 'b']