Which is a main component for how search engines rank search results?

Which is a main component for how search engines rank search results?
  A)  The number of authoritative links to the site.
  B)  The number of social followers of the business.
  C)  The number of keywords on the page.
  D)  The number of visits to the page.