Fix cpplint errors related to stats methods

Change-Id: I0c04ebc851e96390c22bcd32ba6fb6762f6b5bcc