 // See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
 //
 // -----------------------------------------------------------------------------
-extension String
-{
-    var count : Int { return Int(self.startIndex.distanceTo(self.endIndex)) }
-}
-
 class A
 {
     var in_class_a : Int

    {
        get
        {
            return input.count  // In string subscript getter
        }

        set (new_value)


    init (_ input: String)
    {
        in_class_a = input.characters.count
        also_in_a = in_class_a + 1
        print ("In string init.")
    }
