Number of Equivalent Gates