add question count check and cache refresh if required