basic count working