Try echo -a %ad_count

This is because you have echo %ad_count, it's being read as a colour number.