NSDictionary Count

Viewed 22152

how can I count how many itens do I have inside of "bills"?

bills =     (
            {
        id = 1;
        name = "Cursus Nibh Venenatis";
        value = "875.24";
    },
            {
        id = 2;
        name = "Elit Fusce";
        value = "254.02";
    }
);

I'm counting this way:

NSUInteger keyCount = [resultsDictionary count];
NSLog(@"%i", keyCount);

Thanks!

4 Answers
Related