Anyone have a script/query to find out what blogs are using which theme?

I know pretty much how it needs to be done, but rather than write it if it already exists, I'm asking... Has anyone written a script that will pull out a list of which blogs are using which of your themes in the site? Perhaps one that will give a count on how many blogs use each one as well?