changed argument counts -> count in lattice plots