Adds denom
argument to count s_*
functions
#1326
Merged
denom
argument to count s_*
functions
#1326