public function countMenuChildren()
	{
		static $children;

		if (!isset($children))
		{
			$menu = \App::get('menu');
			$active = $menu->getActive();
			if ($active)
			{
				$dbo = \App::get('db');

				$query = $dbo->getQuery();
				$query
					->select('id', null, true)
					->from('#__menu')
					->whereEquals('parent_id', $active->id)
					->whereEquals('published', '1');

				$dbo->setQuery($query->toString());
				$children = $dbo->loadResult();
			}
			else
			{
				$children = 0;
			}
		}

		return $children;
	}