Somewhat speed up creating data formats with large counts, and add maximum format/style count checking. #57884