title: Arithmetic operation fails on AnyObject
body: <p>I'm doing an app in iOS Swift with Parse. I need to increment 1 every time a product is viewed. Following is my code to do that:</p>
  
  <pre><code>var prodQuery = PFQuery(className: "prodDet")
          let id = prodId[currprod] as String
          prodQuery.whereKey("objectId", equalTo:id)
  
          prodQuery.findObjectsInBackgroundWithBlock {
              (objects: [AnyObject]!, error: NSError!) -&gt; Void in
              if error == nil {
                  for object in objects {
  
                      var key1: Int = object["key1Total"]! as Int
                      var key1New: Int = key1 + 1
  
                      object["key1Total"] = key1New
  
                  }
              }
          }
  </code></pre>
  
  <p>The above code gives error "@lvalue$T5 is not identical to AnyObject...". Is anything wrong the way I'm dealing with AnyObject object here; How do we do arithmatic calculation on Parse AnyObjects?</p>
  
  <p>Could somebody please shed some light?</p>