working on validation of count