[core] Fix contacts_count in Contact model
Improve students edit views