$ git clone https://github.com/ArkovKonstantin/word-searcher.git
$ cd ./word-searcher
$ echo -e 'https://golang.org\n/etc/passwd\nhttps://golang.org\nhttps://golang.org' | go run main.go
Count for /etc/passwd: 0
Count for https://golang.org: 20
Count for https://golang.org: 20
Count for https://golang.org: 20
Total: 60
$ go test -v