For an exact answer, a reasonable way to get the exact number of rows in a table in a normalized database is:
select count(*) from table;
In a table without any indexes, the database will perform a full table scan. If you specify a non-empty column, the database may use a (potentially much smaller) index to resolve your query.
, , . , ( API ..) * .
, , , , , (, )
* : SQL-, , , Oracle.