How many parameters were passed to the virtual pin?

I pass a bunch (multiples of 10) of parameters into a virtual pin via the RESTful API. My problem was that before I start processing the parameters that are passed into virtual pin, I need to figure out how many parameters were passed into this in total.
Doing sizeof(param), param.Length(), param.Buffer() or anything like that gives some weird numbers (I can’t even figure out what they are). param.Length gives me “12” regardless of what I put in as input.
Is this a bug, is this something I misunderstand, or something that was never implemented?

I figured a temporary workaround, but surely there must be a more efficient way of finding out the number of parameters?

BLYNK_WRITE(V103) {
  int n = 0;
  // loop until you find an empty parameter, return n.
  while (!param[n].isEmpty()) {
    n++;
  }
}

Kindest regards,
Nickolai.
P.S. My first post here, so if I did something wrong, please don’t be mad.