{
try
{
final Type type = parameters.getType(paramIdx);
final Object value = parameters.getValue(paramIdx);
final Sequence sequence = context.getTypeRegistry().convertToNumberSequence(type, value, true);
while (sequence.hasNext())
{
sequence.next();
count++;
}
}
catch (EvaluationException e)
{