count property

int get count

The number of arguments to the command (not including the command itself)

Implementation

int get count {
  if(args.isEmpty) {
    return 0;
  }
  return args.length - 1;
}