for f in sample*.fasta ; do grep '^>' "$f" | wc -l done