s3-printing: use ARRAY_SIZE() macro in forms functions.