calculate the number of targets and its number of properties