And how do you think they estimate their production capacity or know which tech they acquired? They can know what they sold or gave them, but cannot rule out that others played a role, too.
If they somehow manage to get those answers without spying, checking to what extent those answers can be trusted surely needs it.
"one can estimate the stockpile through a measurement of potential delivery systems."
They may be bluffing: trying to appear stronger than they are to prevent others from attacking you.
They also may play the statistics game: if they have 3 bombs and build only 3 rockets, enemies may think they can take them all out. If they have 3 bombs and build 20 rockets, enemies may think twice even if they know they have only 3 bombs.
Again, additional info is needed to figure out what information you got means_.
Or, assuming that Israel has had time to make far more bombs that it needs, one can estimate the stockpile through a measurement of potential delivery systems. 150 missiles + 50 aircraft = at most 200 warheads.