How can i get attribute number