visitor now knows how many shapes it has visited