package main import ( "fmt" "strings" ) func main() { var s, t string fmt.Scan(&s, &t) fmt.Println(strings.Count(s, t)) }