you need to download webdriver for this to work the function playlist_length_finder has 3 parameters
1st is location of webdriver 2nd is link to the playlist 3rd is optional parameter which is to find the length of first n videos if left empty length of playlist will be shown