title: How to count occurrences of an element in a Swift / array?
body: <p>How to count a number of time in array there are "Yes" ? In swift</p>
  
  <pre><code>["julien: Yes","elie: Yes", "Mark: No", "Jean: Yes"]
  </code></pre>
  
  <p>For exemple here there are 3 times 
  Thanks ;)</p>