example showing count helper