#!/bin/sh -eu
find . -mindepth 2 -type f -and \( -name "*.awk" -or -name "*.py" \) -and -not -path "./libs/*" -print0 \
| xargs -0 cat | grep -v -E '^#' | sort -u | wc -l