title: Search different columns and count specific values in Google Sheets
body: <p>My Google Sheet looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/CuWzP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CuWzP.jpg" alt="enter image description here"></a></p>
  
  <p>I want the H , I and J columns to be filled of the data of the A:F columns.
  The data will be inserted using a form.
  Every row (A:F) is a day.
  The C column separate the text items using the ",". It will be more than iron, glass or wood. This is just an example. The countries (G column) are pre-edited. </p>
  
  <p>I want when a new day (row) is inserted to look for the iron, glass and wood that every country bought and if it finds the item to add 1 under the matched one, so I will know that France buys more glass than Iron and zero wood.</p>