Counting words by number of occurrences of some patterns. Gao, Zhicheng; MacFie, Andrew; Panario, Daniel — 2011 The Electronic Journal of Combinatorics [electronic only]