count the case where interactive shells are called from interactive shells