Determining the nucleation rate from the dimer growth probability