Spent some time reading up on how to define a custom instance of Read. Pretty simple otherwise. Surprised countElem isn't in Prelude.
Read
countElem