It can't be done from a single gradient run. The process involves first calculating the gradient retention factor (k*), which requires retention data from two runs with different gradient steepnesses. N* (the gradient plate number) can then be estimated from t0, k*, and the peak width.
The pertinent equations can be found in the Snyder and Dolan
"High-Performance Gradient Elution" book on pages 38 and 372-373. The catch is that they do not lend themselves to easy computation. The various chromatography modeling programs incorporate the calculation, but the math is messy.
A useful approximation is to measure an isocratic plate count for your protein on your column, and then impute that value to the gradient separation.