/* * count node attribute * * call-seq: * node.attr_count -> Integer */ int attr_count() {