Output length of frequency array