properly count configuration settings in $OCF_RESKEY_CONFIG
properly count configuration settings in $OCF_RESKEY_CONFIG

- instead of invoking external utilities like `wc', use builtin grep
  `-c' option (specifed by POSIX), which hides regular output and emits
  number of matching lines

Closes-bug: #1349501
Change-Id: I6afaeb0a4945cd7e221a9cf8f47dfa2328015f10

xarses/fuel-library,ddepaoli3/fuel-library-dev,huntxu/fuel-library,Metaswitch/fuel-library,Metaswitch/fuel-library,huntxu/fuel-library,huntxu/fuel-library,SmartInfrastructures/fuel-library-dev,slystopad/fuel-lib,SmartInfrastructures/fuel-library-dev,zhaochao/fuel-library,Metaswitch/fuel-library,SmartInfrastructures/fuel-library-dev,ddepaoli3/fuel-library-dev,zhaochao/fuel-library,SmartInfrastructures/fuel-library-dev,xarses/fuel-library,stackforge/fuel-library,zhaochao/fuel-library,xarses/fuel-library,stackforge/fuel-library,ddepaoli3/fuel-library-dev,zhaochao/fuel-library,slystopad/fuel-lib,huntxu/fuel-library,stackforge/fuel-library,SmartInfrastructures/fuel-library-dev,ddepaoli3/fuel-library-dev,slystopad/fuel-lib,xarses/fuel-library,Metaswitch/fuel-library,slystopad/fuel-lib,zhaochao/fuel-library,eayunstack/fuel-library,eayunstack/fuel-library,eayunstack/fuel-library,eayunstack/fuel-library,huntxu/fuel-library,eayunstack/fuel-library,ddepaoli3/fuel-library-dev,stackforge/fuel-library