forgot to guard Count function.