static int ai_countInstances(S s) { ret l(ai_texts("$X", "is", s)); }