@engkin
The call was made:
Var
NilCount : Integer;
Begin
NilCount := Count('Nil',[KPHX][123548]Niles][Nil][United States][62.458][-123.458]);
Thus I think you would expect a return value of 1;
Why 1, there are two, see:
[KPHX][123548]
Niles][
Nil][United States][62.458][-123.458]