You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: serial_spec_iterator.go
    path of file: ./repos/streamdal/apps/server/vendor/github.com/onsi/ginkgo/internal/spec_iterator
    
    the code of the file until where you have to start completion: package spec_iterator

import (
	"github.com/onsi/ginkgo/internal/spec"
)

type SerialIterator struct {
	specs []*spec.Spec
	index int
}

func NewSerial
    
func (s *SerialIterator) NumberOfSpecsThatWillBeRunIfKnown() (int, bool) {
	count := 0
	for _, s := range s.specs {
		if !s.Skipped() && !s.Pending() {
			count += 1
		}
	}
	return count, true
}