Fix count access