title: Firestore array-contains-any object based on one of two fields
body: <p>I have following array in my document:
  <a href="https://i.stack.imgur.com/j9hBT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/j9hBT.png" alt="enter image description here" /></a></p>
  <p>I have SizeFilterComponent which emits BaseFilter object on size select change. I can select multiple sizes.
  This is method which handles logic:</p>
  <pre><code>selectionChange($event){
      let array = [];
      for(let el of $event){
        array.push({size: el})
      }
      let filter: BaseFilter = {
        field: 'sizes',
        symbol: FilterSymbol.arany,
        value: array
      } 
      this.filterChanged.emit(filter);
    }
  </code></pre>
  <p>But the problem is  that sizes have count field. This is field is number higher or equal zero.
  I want to filter items that have sizes with count higher than 0. How can i do that?</p>
  <p>When i change line to
  <code>array.push({size: el, size: 10})</code> im getting item on the screenshot. But i want to get something like <code>array.push({size: el, size: &gt;0})</code> (its just graphically, i know syntax is horrible)</p>