SELECT COUNT(*) FROM minecraft_manager_player WHERE username LIKE ? AND application_id IS NOT NULL;