Error in Comparison value

Hi I have written below Script

IFS=:
while read emp_id_ name manager department;
do echo "$emp_id_";
count=`sqlplus -s sys/orcl as sysdba << EOF
select count(*) from employee where emp_id = ('$emp_id_');
exit;
EOF`;
echo "$count" ;
if [ $count == 1 ] ; then echo "data exist" else echo "not exist" ; fi;
done < employee_data.txt

In employee_data file data as below:-

1:rushabh:4:IT

I employee table data is already there with emp_id = 1

now when I am comparing data its returning not exist
but it should return "data exist"

where is the problem in my script ?

please help me out from this problem?
thanks in advance

Please post the output of the script.
Specially echo "$count"

BTW,
1) ";" only required as the command terminator if multiple commands are on the same line
2) use -eq as the integer equality comparison instead ==
3) In select query, you should use emp_id = $emp_id_ ( Assuming the datatype is Number)

Output for $count is as below

count(*)
----------
1

---------- Post updated at 02:10 AM ---------- Previous update was at 02:07 AM ----------

I am reading data from text file and comparing it with SQL Statement at the end

emp_id = ('$emp_id_')

is it ok?

---------- Post updated at 02:12 AM ---------- Previous update was at 02:10 AM ----------

I also use -eq operation for comparison but still its not working..i think there is problem in comparison between integer and string...

So now you can see the $count is not equals to just "1". there are column headers and other stuffs along with the value.

you must do "set heading off" inside sqlplus.
You might also require to suppress the white spaces before and after the value either db level or shell level.