number_from_end(+Keyed:list(pair), -Numbered:list(pair)) is det[private]
Numbered contains (Key-N)-Value for each Key-Value in Keyed, where N is the number of elements with the same Key from the end of the list, starting at 1.