Is there a way to get awk to return the number of fields that meet a field-separator criteria? Say, for instance, the file contains:

a b c d

So, awk -F=' ' | <something> should return 4.

Edit
Report