net/mlx5: fix count query when flow has not counter