As Openfire is showing the numbers of users logged to a room and the number of total registered users in Admin Console, there should be a way to use that outside the console. By using some “providers” I’m not a developer Btw, Developers part of the forums should be more appropriate for such types of questions (maybe more help from developers like you).