added function to get season number from single episode number