Counting subword patterns in Catalan words | Synapse