want to print number of gates at the end for this test.