1
total_gates = 4