Added setter for count in ClassA.