Merge "Remove calls to LM.getItemCount in demos."