Counter += works as expected.  Counter assignment raises AttributeError