Nuts are rather low in carbs and rich in fats; they are therefore recommended in low carbs diet to compensate for the fact that low carb diets do not provide enough calories and might make you lose more weight than you want to.
About the carb content of different kind of nuts, see: