adds identifiers checks
counts number of identifiers found in format string