Japan July total cash earnings rise 4.7% year on year: govt