Statistics for Theories of perception in medieval and early modern philosophy