= $array[2]) { $count = $array[2]; } else { $count = ($array[1]-$array[0])+1; } echo $count.PHP_EOL; ?>