Refactoring: Removing countParams function and set qtd_params to $# (native shell)

Refactoring: Removing countParams function and set qtd_params to $# (native shell)