chore(core): enable querying for entities by number variables

related to CAM-2939