Quantitative methods in typology