SELECT
  cont.sample_repo_name,
  repo.watch_count
FROM
  [bigquery-public-data:github_repos.sample_contents] as cont
JOIN [bigquery-public-data:github_repos.sample_repos] as repo
  ON cont.sample_repo_name = repo.repo_name
WHERE
  cont.content CONTAINS 'spring-boot-starter-security</artifactId>'
  AND cont.sample_path LIKE 'pom.xml'
ORDER BY repo.watch_count DESC
LIMIT
  40;
