switched to short form of map.reduce with default of zero