Added count function to the model base