Calculate the weight of object held by gripper

Hello,
Is it possible to calculate the weight of an object hold by robotic gripper?

As was described in this other thread, it is possible with a force/torque sensor mounted at the robot wrist.