Add __attribute__((packed)) to counter_info struct