def cmd_count(self, conn, tag, value):
        _, key = self._tagtype_lookup(tag)
        songs = 0
        playtime = 0.0
        for item in self.lib.items(dbcore.query.MatchQuery(key, value)):
            songs += 1
            playtime += item.length
        yield u'songs: ' + unicode(songs)
        yield u'playtime: ' + unicode(int(playtime))

    # "Outputs." Just a dummy implementation because we don't control
    # any outputs.
Base network to be shared (eq. to feature extraction).
dataset/ETHPy150Open beetbox/beets/beetsplug/bpd/__init__.py/Server.cmd_count--crossover with--dataset/ETHPy150Open fchollet/keras/examples/mnist_siamese_graph.py/create_base_network