Inferring rare events: The role of the length of observations