[TIMOB-15441] Always report the correct section count
Merge pull request #4816 from vishalduggal/timob-15441

[TIMOB-15441] Always report the correct section count