test: wrap 'wc -l' results in arithmetic evaluation to strip whitespace