Add needed_count field to serialization for easier ES queries for
uncompleted roles.