Counting and exploring Flat Shapes