Es que lo has planteado mal, el count te cuenta los registros que tiene esa variable, lo que deberias hacer es:
Código PHP:
$cont=0;
$consulta1="select * from op_operaciones where IDOFICINA = ".$_SESSION['idoficina'];
$query1 = mysql_query($consulta1,$conexion);
while($row=mysql_fetch_array($query1)){
if($row['ESTADO_OP'] == 'PENDIENTE FIRMA'){
$cont++
}
}
echo $cont;
o hacer mejor la select:
Código PHP:
$consulta1="select count(*) from op_operaciones where IDOFICINA = ".$_SESSION['idoficina']." and ESTADO_OP like 'PENDIENTE FIRMA'";
$query1 = mysql_query($consulta1,$conexion);
echo $count=mysql_result($query1,0,0);