title: How can I increase counter properties of class when a instance is called?
body: <p>There is simple class:</p>
  
  <blockquote>
  <pre><code>class A(object):
  
      __COUNTER = 0
  
      def do_something_1(self):
          ...
  
      def do_something_2(self):
          ...
  
      def do_something_N(self):
          ...
  </code></pre>
  </blockquote>
  
  <p>Is there decision which can increase <code>self.__COUNTER</code> by calling method but not write it to each function?</p>
  
  <p>I want as something as:</p>
  
  <blockquote>
  <pre><code>a = A()
  # COUNTER = 1
  
  b = A()
  # COUNTER = 2
  
  c = A()
  # COUNTER = 3
  </code></pre>
  </blockquote>