first attempt at counts