(string) 
  			SELECT COUNT(*) AS total_videos
  			FROM video_history
  			WHERE user_id = ?
(string) 
  			SELECT COUNT(*) AS total_videos
  			FROM video_history
  			WHERE user_id = ?
MySQLi query has prepared entries, but no types or variables specified!