In this tutorial we are going to learn how to use the cpplinq count operator to count the number of elements of an array.
The tutorial shows the code running on the ESP32, using the Arduino core. Nonetheless, it also works on the ESP8266 since cpplinq is a generic C++ library that can be used as an Arduino library.