public int getNumberOfAttributes() { int hNOfAttributes = TM1API.TM1ObjectListCountGet(pool.handle, this.handle, TM1API.TM1ElementComponents()); return(TM1API.TM1ValIndexGet(server.user.handle, hNOfAttributes)); }