I\'m trying to write some queries by using the COUNT() function and grouping results by one attribute but I don\'t know how to act if I want it to return even the case when