There are 47 red beads. Since each group is a set of 3 beads (1 red and 2 other color), there will be 47 groups (since 141-47-47-47=0). Therefore, 47 of them are red and the other two groups of 47...
Use static electricity or gravity. Get a statically charged object (static is always around when you don't want it) to draw the Styrofoam away from the glass. Or put them in a container and shake...