mdb-count is a utility program distributed with MDB Tools.
It outputs the number of rows in a table.
mdb_count(path, table = NULL, where = NULL, version = FALSE)Integer row count or version string.
db <- mdbr:::.mdb_example_nwind_path()
if (nzchar(db)) {
mdb_count(db, "Orders")
}