Add a boolean parameter to the stats query to allow getting just the data stats

Small tweak, but changes the behavior to getting just the data stats.

I have to admit that by the time I finished this, I was less certain about its utility than when I started. But since it's done, it may be worth having a record of it even if it doesn't get in.

@benbjohnson 

/cc @snormore @charlescng