Fixed achievement count bug