The Atacama cosmology telescope: cosmology from galaxy clusters detected via the sunyaev-zel'dovich effect