That's a very simplistic way to look at it. We also need to consider the owner and their ability or willingness to manage the dog.
Your average family, which researches breed traits, attends training classes, and consumes appropriate literature to educate themselves, is unlikely to go out and purchase an XL Bully, not least because they are not a breed and therefore cannot be bred responsibly.
Your average drug dealer who wants a dog to protect his stash/protect him from opposing gangs is unlikely to go out and buy a golden retriever from a responsible breeder.
Certain breeds are overrepresented in bite stats because they are overrepresented within certain social groups and subcultures. You can guarantee that if those subgroups ever turn their attention to retrievers, it won't be long before they are the breed in the headlines.