count

Join a split array by counting how many elements are in it.

Usage

z count <>

Examples

# check how many elements the split by ":" produced
z split : _ count

# count words in input
z match [A-z]+ _ count