How many episodes in gotham season 5