[ADD] Methods to get total number of elements of specified table in
database.
[SUBMODULE] Updated test cases.