changed count of record for inputs