Fix cpplint errors related to stats methods

Change-Id: I6e55f602ed22f28529fbc772063a426ff54a135b