func (s *Selection) Count() (int, error) {
	elements, err := s.elements.Get()
	if err != nil {
		return 0, fmt.Errorf("failed to select elements from %s: %s", s, err)
	}

	return len(elements), nil
}
func (s *Selection) Count() (int, error) {
	elements, err := s.elements.Get()
	if err != nil {
		return 0, fmt.Errorf("failed to select elements from %s: %s", s, err)
	}

	return len(elements), nil
}
func ( s * Selection ) Count ( ) ( int , error ) { elements , err := s . elements . Get ( ) if err != nil { return 0 , fmt . Errorf ( " " , s , err ) } return len ( elements ) , nil }
// Count returns the number of elements that the selection refers to.
Count returns the number of elements that the selection refers to .