Add schemas code

`hist.counts.get(ClassSyntax(s)).cata(c => (s, c), (s, 0))`