I'm trying to put a number in a list of elements - a dynamically increasing number - like:

```
1. text
2. text
3. ...
...

```

So far I have this:

```
var c = {
    current: 0,
    count: function () {
        this.current++
    }
}
$('.box').each(function (index) {
    $(".number").text(c.current + 1);
    c.count();
});

```

* see [jsfiddle](http://jsfiddle.net/Qzk3P/3/). But what am I missing? how do I give each element its own number?

Thanks.