https://www.php-resource.de/forum/sql-datenbanken/43983-count-distinct-where