Working on counting samples