P12, P19, P39, P53, P63, P188: Tweaked Haskell solution to change counting idiom from 'length [() | ...]' to 'sum [1 | ...]'.