Add cache stats to cat/nodes.

Closes #4543.