Αποστολή με SMS: Counting points on curves over families in polynomial time