Switched sum and count stuff...