def count_computers(self):
    result = self.session.run('MATCH (c:Computer) RETURN count(DISTINCT id(c)) as num_computers')
    for record in result:
        return record['num_computers']
def count_computers(self):
    result = self.session.run('MATCH (c:Computer) RETURN count(DISTINCT id(c)) as num_computers')
    for record in result:
        return record['num_computers']