https://www.php-resource.de/forum/sql-datenbanken/55924-logik-elemente-z%C3%A4hlen