title: 'AnyObject?' does not have a member named 'count'
body: <p>I'm trying to loop through an (as I would interpret) array by <code>arrayname.count</code> like:</p>
  
  <pre><code>if var storedToDoItems: AnyObject? = NSUserDefaults.standardUserDefaults().objectForKey("toDoItems") {  
          toDoItems = []
  
          for var i = 0; storedToDoItems.count; i++ {
              toDoItems.append(storedToDoItems[i] as NSString)
          }
      }
  </code></pre>
  
  <p>and receive the error in the title marked by <code>storedToDoItems.count</code>. I'm populating first <code>storedToDoItems</code> like this:</p>
  
  <pre><code>...
      toDoItems.append(tb_toDoItem.text)
  
      let fixedToDoItems = toDoItems
  
      // Store items
      NSUserDefaults.standardUserDefaults().setObject(fixedToDoItems, forKey: "toDoItems")
  
      // Save the stored stuff
      NSUserDefaults.standardUserDefaults().synchronize()
  ...
  </code></pre>