Flows counting for N and P moved into fractionCell class