} else if (obj instanceof Iterable) {
for (Object child : ((Iterable)obj)) {
quantify(child, quantities);
}
} else if (obj instanceof MultiAction) {
MultiAction multi = (MultiAction)obj;
quantify(multi.allActions(), quantities);
} else if (obj instanceof Action) {
quantify(((Action)obj).getAction(), quantities);
} else if (obj instanceof Put) {
quantities.increment("Put", 1);
quantities.increment("KeyValue", ((Put)obj).size());