`inerts` -> `inserts`, and I would write `table.count()` or `r.table(...).count()` instead of `table().count()`.