def _count_subplots(self):
        """Count how many charts should be displayed"""
        if self.price_endpoint_enabled or self._has_overlays():
            subplots_count = 1
        else:
            subplots_count = 0

        for ep in self.endpoints:
            subplots_count += ep.is_indicator and not ep.is_overlay
        return subplots_count
Count how many charts should be displayed
src/twelvedata/time_series.py