check photos count