Text this: Carrollian partition functions and the flat limit of AdS