Via BigQuery:
SELECT COUNT(DISTINCT actor) FROM [githubarchive:github.timeline];
However, GitHub user IDs are/always used to be sequential, create a new account and see what its user ID is. It's around 8.6 million at the moment.