How Many Gates Are There