Item Counter in Shopping Carts

Create a Python function to compute the frequency of a specific item across various shopping carts.

In this programming task, a list of shopping carts is given, with each cart represented by a list of item names. All items are represented as strings. The objective is to design a Python function to find the occurrence count of a specific item across all shopping carts. ### Parameters - `carts` (List of lists of strings): This is a list representing multiple shopping carts. Each cart includes up to 6 item names. There's a guarantee of at least one shopping cart. Every name will be a non-empty string. - `item` (string): This is the name of the item or product that needs to be searched. This will also be a non-empty string. ### Return Value - The function should return a single integer value, representing the total count of `item` across all `carts`. ### Examples For example, considering lists of cart items and searching for "chocolate": ```python carts=[ ["chocolate", "chips", "oreos", "biscuits", "oranges", "sprite"], ["holy biscuits", "dried mango", "biscuits", "oranges", "chocolate", "chips"], ["gum", "watermelon", "chocolate", "soft candy", "pure water", "yogurt"], ["chocolate", "chips", "oranges", "oranges", "lollipop", "dried mango"], ["dried strawberry", "chocolate", "hot strips", "cashews", "yogurt", "holy biscuits"] ] solution(carts, "chocolate") # Outputs: 4 ```