use a sepeate key for group count