#Swift 3, 96 93 bytes
import Cocoa
func c(n:Int,s:Int,e:Int){print((s...e).filter{"\($0)".contains("\(n)")}.count)}
Edit 1:
Saved 3 bytes by using shorthand parameters
#Swift 3, 96 93 bytes
import Cocoa
func c(n:Int,s:Int,e:Int){print((s...e).filter{"\($0)".contains("\(n)")}.count)}
Edit 1:
Saved 3 bytes by using shorthand parameters