ITS#9535 avoid non-portable wc format

Use awk to count lines instead
3 jobs for OPENLDAP_REL_ENG_2_5 in 110 minutes and 1 second (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #6661
build-gnutls-mit-standalone-lloadd

01:47:44

passed #6659
build-no-threads-no-slapd

00:02:16

passed #6660
build-openssl-heimdal-lloadd

00:48:59