Tree measures and the number of segregating sites in time-structured population samples