Added a function for gate count of a specifed type.  Changed one bit syntax to use | instead of +