Sample Size Calculation for Time-to-Event Endpoint