@property
    def count(self):
        '''
        Return number of waypoints.

        :return: The number of waypoints in the sequence.
        '''
        return max(self._vehicle._wploader.count() - 1, 0)
dataset/ETHPy150Open dronekit/dronekit-python/dronekit/__init__.py/CommandSequence.count/original