How many actors have been elected president?
{'directed': True, 'multigraph': False, 'graph': {}, 'nodes': [{'type': 'QUESTIONS_ENTITY', 'name_': 'Q11696', 'id': 0, 'label': 'President of the United States'}, {'type': 'INTERNAL', 'name_': 'Q698073', 'id': 1, 'label': '1792 United States presidential election'}, {'type': 'QUESTIONS_ENTITY', 'name_': 'Q33999', 'id': 2, 'label': 'actor'}, {'type': 'INTERNAL', 'name_': 'Q644161', 'id': 3, 'label': '1972 United States presidential election'}, {'type': 'INTERNAL', 'name_': 'Q712457', 'id': 4, 'label': 'Tim Matheson'}, {'type': 'ANSWER_CANDIDATE_ENTITY', 'name_': 'Q47566', 'id': 5, 'label': 'United States presidential election'}, {'type': 'INTERNAL', 'name_': 'Q230654', 'id': 6, 'label': 'Maria Shriver'}, {'type': 'INTERNAL', 'name_': 'Q4865371', 'id': 7, 'label': 'Bartlet for America'}], 'links': [{'name_': 'P541', 'source': 1, 'target': 0, 'label': 'office contested'}, {'name_': 'P31', 'source': 1, 'target': 5, 'label': 'instance of'}, {'name_': 'P541', 'source': 3, 'target': 0, 'label': 'office contested'}, {'name_': 'P31', 'source': 3, 'target': 5, 'label': 'instance of'}, {'name_': 'P106', 'source': 4, 'target': 2, 'label': 'occupation'}, {'name_': 'P106', 'source': 6, 'target': 2, 'label': 'occupation'}, {'name_': 'P3602', 'source': 6, 'target': 3, 'label': 'candidacy in election'}, {'name_': 'P161', 'source': 7, 'target': 4, 'label': 'cast member'}, {'name_': 'P921', 'source': 7, 'target': 5, 'label': 'main subject'}]}