Been diving into your last remark. That wouldn't be neccesary if we don't use the fetchrowset function and loop over the rows. In the last case we could fill the array(in function get_styles) with key = style_id. That function however is used in 4 other places in the same file, changing to a while loop will not only make the function slower but will also break other code. As checking against a set constant (in $this->config) is faster than looping over the rows in get_styles i think this is the best solution for the problem. On the other hand, (i mentioned it also in the ticket comments), there is something to say for the fact that admins would like the figures to be accurate so showing the actual count of users using a style is also a good idea. So my suggestion would be to combine the two and show actual usercount AND total usercount when override_user_style is set.