Problem: Wrong condition for builds without classes
Solution: Change count (class) to count (model)