counts properly