Dynamics of a large population of red blood cells under shear flow