The object of the game is to decrease the counter to zero. How? It's a simple task: All you have to do is "trap" stars between objects. Each star trapped will decrease the counter by one.
(Of course, there's also combo bonuses, chain reactions, and frozen stars...and you don't have all day either...)