Python 2.x - 49 23 2322 bytes
This is assuming variable input is okay. Both strings can be of any length.
Shortened @avall.
a='s'
b='aaaabbbbsssffhd'
print print~-len(b.split(a))-1
49 bytes version, counts every instance of the substring ('aba' is in 'ababa' twice).
a='s'
b='aaaabbbbsssffhd'
print sum(a==b[i:i+len(a)]for i in range(len(b)))