Fixed the issues with the videoCount.
Formated code.
Added respective comments.