Functions for getting currentDiff and diffCount