Converts map element into a long or returns 0 if conversion is not possible.
key
See getAsLongWithDefault