Alyssa Rosenberg of Think Progress divvied up the main characters of primetime scripted shows on NBC, ABC, CBS, and Fox by race and gender. Her count came with this disclaimer:
"Simply for the purposes of illustrating the depth of the disparity, I tried to give shows the benefit of the doubt in counting characters of color as main characters–these numbers are actually a little more generous than they might have been."
Then, the blog Alas! contrasted those numbers with the actual race and gender statistics for the United States population. Here are the results.