counter: use passed table name when creating it