Short answer: Count (*) will be faster.
However, this assumes that you are not using data if you are going to select data and want to count, then use your first method.
("SELECT id FROM items WHERE seller=?");
If you have an index in the table, then it will return almost instantly.
source
share