Add class StringCounter