Refined category statistics calculation for doubles-as-categorical data values.