Statistics for Capturing Structural and Functional Diversity Through Institutional Analysis: The Mayor Position in City Charters