title: Filtering Array of Dictionaries
body: <p>I have an array of dictionaries such as:</p>
  
  <pre><code>  partnersList = 
       [
         ["isSelected": "true", "name": "Eduardo Jokovich", "cnpj": "11123123123412"],
         ["isSelected": "false", "name": "Jucileia Bezerra", "cnpj": "11000000123412"]
         ["isSelected": "true", "name": "George Bull", "cnpj": "11000000123232"]
       ]
  </code></pre>
  
  <p>And I need to count the number of times where the key "isSelected" is equal to "true".</p>
  
  <p>For the example above, </p>
  
  <pre><code>let numberOfSelectedPartners = partnerList.someFilter{} 
  </code></pre>
  
  <p>Should return:</p>
  
  <pre><code>numberOfSelectedPartners =2
  </code></pre>
  
  <p>What's the best way to do it in Swift 3.0? (without for loops)</p>