Add label text on table view cell : <p>How can i convert labels to integers and sum all of them up </p>

<pre><code>    var totalCount:Int?
    if let number = Int(price.text!) {
        let myNumber = NSNumber(integer:number)
        totalCount = totalCount! + myNumber.integerValue
        print(totalCount)
    } else {
        print("'\(price.text)' did not convert to an Int")
    }
</code></pre>

<p>here is my code it is not working</p>
