Rivian Interview Question

BFS, How many subtrees in a graph (something of that sort)