calculated count to always return the count, even if it is 1

Ran into this issue on our batsd implementation; arrays with a single value were returning that value as the count, rather than '1'. This was causing secondary calculations we were doing to have errors.

Any feedback would be appreciated!