#141 #132 implemented static local variable count