Reading counter data with the IEC 62056-21 protocol