Count the total number of frames in a video with OpenCV and Python

[email]
[email]