(maint) Compute argument count
(maint) Compute argument count

Compute the argument count (`argc`) value from the size of the `argv`
array instead of hardcoding it.

puppetlabs/pxp-agent,puppetlabs/pxp-agent,puppetlabs/pxp-agent