In how many ways can the number 2023 be expressed as the sum of three non-negative integers \(a, b, c\) such that \(a, b, c\) are all less than or equal to 1000? Let's think step by step and output the final answer within \boxed{}.
user