Fix promise chain in count-sample
Fix promise chain in count-sample

Fixes #94
Kevded/functions-samples,Kevded/functions-samples,firebase/functions-samples,firebase/functions-samples,firebase/functions-samples,Kevded/functions-samples,firebase/functions-samples,Kevded/functions-samples