/command/find count-only

I think it would be really useful if find had an equivalent control to prints count-only e.g.

/interface/bridge/find count-only where

If you know of an equivalent command, or maybe have created a short script to do the same I would love to see it.

Thanks,

MC

get??? count-only??
what you want to do exactly?

On terminal, just for simply check:

/interface bridge print count-only

Inside scripts:

{
:local intBridges [:len [/interface bridge find]]
:put $intBridges
}