def look_for_pathway_and_anat(paths):
	"""
	Given a set of paths, count the number of distinct labels, where pathways, and where anatomy occur
	:param paths: a list of paths (from node_name_and_label_in_path)
	:return: a list of number of distinct labels in the paths, a list of logicals indicating if that path has a pathway
	and a list of logicals indicating if that path has an anatomy node
	"""
	num_labels = []
	has_prot_and_path = []
	has_prot_and_anat = []
	for path in paths:
		labels_set = set()
		for tup in path:
			labels_set.add(tup[1])
		num_labels.append(len(labels_set))
		if 'uniprot_protein' in labels_set:
			if 'reactome_pathway' in labels_set:
				has_prot_and_path.append(True)
			else:
				has_prot_and_path.append(False)
			if 'anatont_anatomy' in labels_set:
				has_prot_and_anat.append(True)
			else:
				has_prot_and_anat.append(False)
		else:
			has_prot_and_path.append(False)
			has_prot_and_anat.append(False)
	return num_labels, has_prot_and_path, has_prot_and_anat