added count() to table class and tests
Merge branch 'master' of https://github.com/billysometimes/rethinkdb