Added number of episodes var

Added number of episodes var