Do not call test case countProperties, or bad things will happen.
Removed enumerable attribute which should not be needed.
Simplify counting properties.