number of dhcp lease items print out?

Hi

Can anyone one help me with this:

/ip dhcp-server/lease

I want it to print the number of items to log, I don’t know how to do it.. :frowning:

log info [/ip dhcp-server lease print count-only]

perfect :astonished: thx