Read attributes count & attributes