changed count to pixels for better semantic naming
added more keys to the test