Another way to say "a counter is used for holding things" is "Holding things is one of the functions of a counter."