Get the number of pairs in a dictionnary.
fun [Dict] I
Return : I the number of pairs, nil if an error occurs.