fixed the wrong format strings for an int (enum'ed) variable.

%zd ->
%d
removed an needless space.
replaced the type of number of sub parsers, because size_t is more natual than int for the purpose.

int ->
size_t