Simplify material count