feat: introduce #total and #has_any?