query GetReleasesCount($owner: String!, $name: String!) { repository(owner: $owner, name: $name) { releases { totalCount } tags: refs(refPrefix: "refs/tags/") { totalCount } } }