Groups with finitely many non-normal subgroups