Make the resourceList length beeing fetched on each render.