Made changes to ProductStatsCalculatorImpl.java