Can you plot the number of paths as a function of level?

can you plot the number of paths as a function of level?
Could anybody help me the answer with the question

How are you defining level?

MATCH p=(b:Vendor)-[*0..30]->(child)
where (child:MatPlant or child:Customer) and b.node_id="US1|0010764006"
and NONE( rel in relationships(p) WHERE type(rel)="VendorToVendorPurchaseOrder")
optional match (child)--(wc:WorkCenter)
return p

this is the query which we are using [*0..30] as levels

Ah, you can get the path length with length(p)