added a count property to groups in order to hide stuff if there is no group