Added count methods

Hey!

I added one method (both in Dictionary and Array) in order to count elements meeting a criteria.

Maybe the name is not the best (possible conflicts with count standard property), but I think the idea is worth

Thanks!