Added lost variable to indicate question count