fixing a minor counting bug in markup_beauty