To determine how many eighth graders took the survey, we need to add the number of eighth graders who preferred pizza (54) and the number who preferred tacos (81):
54 (eighth graders who prefer pizza) + 81 (eighth graders who prefer tacos) = 135.
So, the total number of eighth graders who took the survey is 135.