Marble selection and counting