student count to variable
refactor array