code: def libvlc_media_list_count(p_ml):
      '''Get count on media list items
      The L{libvlc_media_list_lock} should be held upon entering this function.
      @param p_ml: a media list instance.
      @return: number of items in media list.
      '''
      f = _Cfunctions.get('libvlc_media_list_count', None) or \
          _Cfunction('libvlc_media_list_count', ((1,),), None,
                      ctypes.c_int, MediaList)
      return f(p_mlf libvlc_media_list_count(p_ml):
      '''Get count on media list items
      The L{libvlc_media_list_lock} should be held upon entering this function.
      @param p_ml: a media list instance.
      @return: number of items in media list.
      '''
      f = _Cfunctions.get('libvlc_media_list_count', None) or \
          _Cfunction('libvlc_media_list_count', ((1,),), None,
                      ctypes.c_int, MediaList)
      return f(p_ml)
docs: Get count on media list items
      The L{libvlc_media_list_lock} should be held upon entering this function.
      @param p_ml: a media list instance.
      @return: number of items in media list.