I have to make a query that does the following:
I have a json field casted as array, I want to count the number of values inside this array and compare it with an input.
Let's say user inputs 3 and in the db we have {'item1','item2','item3'}, it should return true