getting repositories count