First statistical measurement of the Hubble constant using unlocalized fast radio bursts