Don't call count() for top panes