mRNAtool: fix bug for count extend function