@property
    def numhosts(self):
        return int(self.broadcast_address) - int(self.network_address) + 1
*musicpd.org, music database section:*
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/ipaddr.py/_BaseInterface.numhosts--crossover with--dataset/ETHPy150Open mopidy/mopidy/mopidy/mpd/protocol/music_db.py/count