Quantitative Intertextuality