bugfix: return 1 in section count