Added method to get the total number of pixels in a screen

Fixes #1