Fewer people realize the extent of Persian words in Arabic.
But handasa is actually the middle Persian word handazag, from where modern Persian "andazeh" اندازه - meaning measurement - comes
And then Persian re-borrowed it back with the new meaning.
But many people might assume it's the opposite, just because we're so used to looking for Arabic words in Persian, but not the other way around!
These "g" endings were lost in Modern Persian, but remain in Arabic loanwords, showing which are recent and which are old.
Here's some background reading: burjbaabil.com/2014/05/31/per…