Also try to count recipe ingredients regardless of repairMaterial

when the normal counting and the config value result in 0

Fixes #1484