Return the number of genes

def nr_genes(self):
        """Return the number of genes"""
        if self['genes']:
            nr_genes = len(self['genes'])
        else:
            nr_genes = len(self['gene_symbols'])
        return nr_genes