Getter and Setter for trapCounter

Allows SmartMonster to access it.