Final (hopefully) fixup of gatherdepth.
Fixing frequency output which was Some(#) rather than just \#