add count for printing format