InstanceVAriableCounter uses type desclaration instad of compilation unit
Use Variable counter with type declaration instead of compilation unit
Change violation message when more that two instance variables are given