Add a new `BKE_lib_query_unused_ids_amounts` to query expected amounts of deleted IDs. This function does not tag IDs in main anymore. Factorize most parameters (and output data) into a new struct `LibQueryUnusedIDsData`. Part of PR https://projects.blender.org/blender/blender/pulls/117304.