I have main ingredients and ingredients (taxonomy=recipe-ingredient). In ingredients backend, count of recipes (containing that ingredient) showing zero. For main ingredient it is working.
As per the documentation , i added that code to my beta site.But submenu is not displaying correctly.Instead of primary menu i use top menu.Also design of header changed(original design link).