Storing count(*) into unix variable

Hi, I've just started on unix shell scripting a few days ago. I tried look for the solution to my problem over the net but to no avail.

The objective of my script is to count the number of records in a particular table from a Oracle database.
Ok, here's my problem, when I run this script:

The system literally prints out the string value of the variable "value".

What I really want is that the variable "value" to display is the number of records in the table.
Can anyone help me on this? :frowning:
Thanks

Oops, I've found the problem. 0.0.
I used ' instead of `.
Thanks to those who tried to help. :smiley: