count languages example (loops vs stream, loops + map enhancements)