How to calculate number of zeros of analytic function and their values via Python

$  cat  pythonComplex01.py import numpy as np from cxroots import Circle def count_zeros(f, df, contour_points):    ""...