updated code to list buckets with over 1000 entries
added code to list objects for buckets with more than 1000 objects