Adding enumerate method for collections, and for a particular key