/** * Get customer count * * @return int */ public function getCustomerCount() { $count = $this->customerManagement->getCount(); return (int) $count; }