counting patterns
 
Caps