def infected_nonchild_neighbors(G, node, states, dict_node_age):
	""" Calculate the number of infected non-child neighbors for the node. 
	"""
	return sum([1 for node_i in G.neighbors(node) if states[node_i] == 'i' and dict_node_age[node_i] != '3'])