According to Orlando Llanes:
Now for the reason I asked if GPC had anything to count the number of
parameters. I assume I didn't misspell ParamCount because nobody has corrected me, and I also assume that capitalization doesn't matter because it's Pascal, so here goes... I got an error from GPC saying that ParamCount is an undeclared identifier. [...]
Which version of GPC are you referring to? It has become a built-in function of GPC on 10 Nov 1997 and is not present in gpc-971001.
Peter