add instance creation counter