Calculates the duration of a Spotify playlist.