title: Swift 1.2 cannot invoke 'count' with an argument list of type '(String)'
body: <p>Updated to Xcode 6.3.1 with new Swift 1.2, the old method <code>countElement</code> change to <code>count</code>, however when I switch to use <code>count</code>, it always throw out this error message: </p>
  
  <blockquote>
    <p>cannot invoke 'count' with an argument list of type '(String)'</p>
  </blockquote>
  
  <p>This snippet is I copied from Apple doc, but still not working.</p>
  
  <pre><code>func printAndCount(stringToPrint: String) -&gt; Int {
      println(stringToPrint)
      return count(stringToPrint)
  }
  
  func printWithoutCounting(stringToPrint: String) {
      printAndCount(stringToPrint)
  }
  
  printAndCount("hello, world")
  </code></pre>