Getting release track count from Artist Search

I’m trying to query the following information about an artist:

  • Id
  • Name
  • ReleaseGroups
    • Id
    • Name
    • FirstReleaseDate
    • PrimaryType
    • Track Count

When I send a query to the MusicBrainz api artist/<mbid> endpoint (with the release-groups, releases, and media includes - I am getting back a set of releases that all have a null release-group field, is there something I am missing that will populate this field for me? I’d like to be able to associate a release to a release-group and then parse the information from there.
I’m hoping to avoid making an extra call to the API per release-group, so I was hoping the information could be included in the Artist query.

Thanks