human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Call sign, Frequency MHz, City of license, ERP W, Class, FCC info
###Question: ERP W that has a Class of d, and a Call sign of k299ar is what total number?
gpt
SELECT COUNT ERP W FROM table WHERE Class = d AND Call sign = k299ar