counts correctly calculated