You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
for the right syntax to use near 's%' OR Request.name LIKE '%okamoto's%' OR Request.anime LIKE
'%okamoto's%' ' at line 2


Original SQL:
SELECT COUNT(*) FROM Request WHERE `status` = 'Pending'  AND (
	Request.song   LIKE '%okamoto's%' OR
	Request.name   LIKE '%okamoto's%' OR
	Request.anime  LIKE '%okamoto's%' OR
	Request.artist LIKE '%okamoto's%' OR
	Request.type   LIKE '%okamoto's%'
)