Sample size calculation for recurrent events data in one-arm studies