Total records in table

Hi,

I am having two tables. A & B

I want to know the total number of records in each table and need to store each value in some variables to process further in the code.

How it can be done ?

With Regards

can you write input and desired files

Are you asking about Shell or Oracle or something else?