Add two blocks to display counts and listings.

Maybe this code should be de-duplicated.