/**
  * Add method to calculate amount from recurring profile
  * @param Mage_Sales_Model_Recurring_Profile $profile
  * @return int $amount
  **/
 public function getAmountFromProfile(Mage_Sales_Model_Recurring_Profile $profile)
 {
     $amount = $profile->getBillingAmount() + $profile->getTaxAmount() + $profile->getShippingAmount();
     if ($this->isInitialProfileOrder($profile)) {
         $amount += $profile->getInitAmount();
     }
     return $amount;
 }