Graph QL query for branch file size

Hi,

I’d like to use GraphQL to retrieve the file size of each branch in a repository.
From what I understood, I can only get statistics for main branches.
Does anyone know if it is at all possible to get this info at the branch level with GraphQL?

Thanks in advance for any feedback,
Joana