Use the COUNTIF function for Base

Use the COUNTIF function for Base