Removed some debug lines
Added goodcount stuff to find the number of items in the top left corner