[#BloombergLP-balcl-CommandLine-numSpecified] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::numSpecified :relfileprefix: ../../../ :mrdocs: Return the number of times the option with the specified `name` has been entered on the command line, or 0 if `name` is not the name of a field in the command‐line specification passed at construction to this object. Note that, in order to receive the valid number of occurrences, the command line must be successfully parsed. == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numSpecified(std::string_view const& name) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#