Refactored Device summary to use hashlib count_distinct() method