title: Count Items in an Array of Arrays?
body: <p>If I have an object that is declared as </p>
  
  <pre><code>let compoundArray = [Array&lt;String&gt;]
  </code></pre>
  
  <p>is there a property that would give me the number of strings in all the arrays contained in compoundArray?</p>
  
  <p>I can do it by adding up all the items in each array within:</p>
  
  <pre><code>var totalCount = 0
  for array in compoundArray {
     totalCount += array.count }
  //totalCount = total items in all arrays within compoundArray
  </code></pre>
  
  <p>But that seems clunky and it seems that swift would have a property/method of Array to do this, no?</p>
  
  <p>Thanks!</p>