func (p *Phracked) countPages() {
	files, err := ioutil.ReadDir(p.temp)
	if err != nil {
		cleanFatal(err)
	}
	p.pages = 0
	for _, file := range files {
		if strings.HasSuffix(file.Name(), ".txt") {
			p.pages++
		}
	}
}
/**
 * Count the pages for the current Phrack issue.
 */
Count the pages for the current Phrack issue.
/ ** * Count the pages for the current Phrack issue . * /
func (p *Phracked) countPages() {
	files, err := ioutil.ReadDir(p.temp)
	if err != nil {
		cleanFatal(err)
	}
	p.pages = 0
	for _, file := range files {
		if strings.HasSuffix(file.Name(), ".txt") {
			p.pages++
		}
	}
}
func ( p * Phracked ) countPages ( ) { files , err := ioutil . ReadDir ( p . temp ) if err != nil { cleanFatal ( err ) } p . pages = 0 for _ , file := range files { if strings . HasSuffix ( file . Name ( ) , " " ) { p . pages ++ } } }
Count the pages for the current Phrack issue.
Count the pages for the current Phrack issue .