Any ideas how to get number of sections in montage

Anyone know a way to do this?