[PATCH 05/10] libctrl: Add commands to query counters and rate_cntr