made count call consistent with calling style for other actions