In most years, the film that gets the largest number of nominations ends up being voted the Best Picture.
Over the past two decades, there are a few exceptions to this rule. For example, in 2001, The Lord of the Rings: The Fellowship of the Ring received 13 nominations (the largest that year), but the Best Picture winner was A Beautiful Mind, which was nominated in 8 categories