1836 use leasedb for share count

Ticket: https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1836