[Solved] use select count(*) everytime or save the count as a number directly


Count(*) is most reliable becuase it gives correct count even when some rows are deleted from the table

1

solved use select count(*) everytime or save the count as a number directly