count contours opencv python