So this looks right to me, but it doesn't work.
ExtFunctionCallIterator::count() never gets called it seems. I did a test like:
let $conn := ftp:connect( "127.0.0.1", $options )
let $remote-path := "/"
return fn:count( ftp:list( $conn, $remote-path ) )
That should work, right?
Your team Zorba Coders is subscribed to branch lp:zorba.
Mailing list: https://launchpad.net/~zorba-coders
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp