Python: fixed Dendrogram.optimal_count getter