returns the right cell and count for collection view.