Quantitative Analysis of Qualitative Data: The Case of Historical Networks