// TODO: Investigate whether this can be made more performant by counting a specific field rather than *. That would probably require stateful knowledge of the database schema, though.
letfieldReference=(collection!=null)
?operations.remoteField({collection:collection,field:"*"})// FIXME: Make sure not to break this (internally) when making field name checks more strict