From Xojo Documentation
| This item has been deprecated since version 2019r2 and should no longer be used.
Please use Dictionary.KeyCount as a replacement.
Read-Only Property (As Integer )
The number of key-value pairs in the Dictionary.
Returns the actual Count, not the Ubound of an array.
The following code displays the number of key-value pairs: