pub async fn count_data_dataset_links( db: &DatabaseConnection, data_id: Uuid, ) -> Result<usize, DatabaseError>