title: Ambiguous reference to member 'count'
body: <p>Getting the following error when i migrated my current Xcode (v 7.0.1) project  to Xcode 7.1.1 </p>
  
  <ul>
  <li>Ambiguous reference to member 'count'</li>
  <li>Cannot subscript a value of type 'Array' </li>
  </ul>
  
  <p>Any idea how to resolve above errors?</p>
  
  <p>My code is as follows</p>
  
  <pre><code>  var arrOfRewardDetail : Array = [Dictionary&lt;String, String&gt;]()
    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt;  Int {
      return arrOfRewardDetail.count //Ambiguous reference to member 'count'
  }
  
   if self.arrOfRewardDetail[indexPath.row]["KEY"] == "Promotion By : "{} // Cannot subscript a value of type 'Array'
  </code></pre>
  
  <p><strong>Update</strong> Now getting the following errors</p>
  
  <ul>
  <li>Ambiguous reference to member 'indexOf'
  <code>let indexOfEnum : Int = self.arrPromitionDetailEnum.indexOf(dictRewardInfo["r_promotion_detail_type"]!)!</code></li>
  <li>Also this one
  <code>let indexOfEnum : Int = self.arrPromitionDetailEnum.indexOf(dictInfo["r_promotion_detail_type"]!)! // Cannot subscript a value of type 'Array'</code></li>
  </ul>