Counting points on curves: the general case - Jan Tuitman (2014)