[beets] Move trackCount retrival into init()