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 '%N's%' OR Request.anime LIKE
'%N's%' OR Request.' at line 2


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