On Tue, Oct 20, 2015 at 1:26 PM, Ian Kelly <ian.g.kelly at gmail.com> wrote: > def room_size_constraint(*v): > counter = Counter(v.values()) Sorry, this should just be Counter(v), since v here is a tuple, not a dict.