method difference - compute difference on event attribute (events values 1,5,6,10 result into : 4,1,4)