Just found a way to do a similar thing on github: http://github.com/repositories/recent?page=8433 is the last page of repositories with 30 items per page - that gives ~252990 repositories. Not even close to the number cited in the article... I'd really like to know where does the difference come from.
That only gives you public repos. For one, they said that 40% of that 1M is gists (which would make it ~400k, which is more than the number of public repos. Which I guess makes sense since there are probably people that create a new gist almost every single day.) Also, there are lots of private repos that won't show up on the repo-browsing page.