I'm using bellow code for displaying the amount of product/s in specific category on my home page:
<?php
$products_count = Mage::getModel('catalog/category')->load(4)
->getProductCount();
echo($products_count);
?>
Where 4 is the number/ID of my specific category.
Now I would like to display the amount of attributes with name "lp_brand" from this specific category.
Thank you in advance.