null commit count fix