Add callbacks for line, hunk, and file counting