Numeric problem and solution of FP counting