Add cli test to stats app.
Convert to double before squaring (corrects NAs).
Count structs and lists.
Merge pull request #345 from ambiata/topic/statsapptests

Add cli test to stats app.